import request from '../utils/request'

export function getServiceList(params = {}) {
  return request({
    url: '/api/services',
    method: 'get',
    params
  })
}

export function getServiceDetail(id) {
  return request({
    url: `/api/services/${id}`,
    method: 'get'
  })
}